home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 …SCII & the Runetime Code / ADC Developer CD (1992-07) (''Butch ASCII And The Runtime Code'')_iso / Dev.CD 199207.iso / Tools & Apps / OS⁄Toolbox / Apple Events / AE Word Services 1.0d6 / Writeswell Jr. Source / headers / TBConstants.h < prev    next >
Encoding:
Text File  |  1992-04-23  |  1.4 KB  |  75 lines  |  [TEXT/KAHL]

  1. /* TBConstants.h
  2.  * Constants for use in the Testbed word processor
  3.  * ©1992 Working Software, Inc.
  4.  * This source code is copyrighted.  Permission is granted to use the Word Services
  5.  * portion of the Writeswell Jr. source code in your own programs, but you 
  6.  * may not distribute the Writeswell Jr. word-processor code as a 
  7.  * commercial product.  If you modify the code, please do not call it 
  8.  * Writeswell Jr. (or Writeswell.)  This will ensure that people understand the 
  9.  * program and don’t have to deal with a number of different versions with 
  10.  * who-knows-what going on in the code.
  11.  * 
  12.  * Writeswell Jr. and Writeswell are trademarks of Working Software, Inc.
  13.  * 18 Dec 91 Mike Crawford
  14.  */
  15.  
  16. enum {
  17.     kDocWindowID = 128                /* Resource ID of document window */
  18. };
  19.  
  20. enum {
  21.     kMBarID = 128
  22. };
  23.  
  24. enum {
  25.     kAppleMenuID = 128,
  26.     kFileMenuID,
  27.     kEditMenuID,
  28.     kServMenuID
  29. };
  30.  
  31. enum {
  32.     kAMAboutMe = 1,
  33.     kAMDash
  34. };
  35.  
  36. enum {
  37.     kFMNew = 1,
  38.     kFMQuit
  39. };
  40.  
  41. enum {
  42.     kEMUndo = 1,
  43.     kEMDash,
  44.     kEMCut,
  45.     kEMCopy,
  46.     kEMPaste,
  47.     kEMClear
  48. };
  49.  
  50. enum {
  51.     kSMCheckSel = 1,
  52.     kSMNewBatch,
  53.     kSMNewInteractive,
  54.     kSMRemoveService,
  55.     kSMCheckWord,
  56.     kSMStopIntCheck,
  57.     kSMDash
  58. };
  59.  
  60. enum {
  61.     kAboutMeID = 129            /* About TestBed resource ID */
  62. };
  63.  
  64. enum {
  65.     kVertScrollBarID = 1000        /* Vertical document window scroll bar */
  66. };
  67.  
  68. #define kMiscStringID    128        /* STR# prefs file name and such */
  69.  
  70. enum {
  71.     kPreferencesFileNameStr    = 1    /* Name of preferences file */
  72. };
  73.  
  74. #define kMaxServices 16
  75.